package com.boot.app.base.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class PasswordDto {

    @NotEmpty(message = "原密码不能为空")
    private String oldPassword;

    @NotEmpty(message = "新密码不能为空")
    private String newPassword;

    @NotEmpty(message = "确认密码不能为空")
    private String confirmPassword;

}
